﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.ItemInfoSchema

    Public Class currencyFor_item

        Private strIcon As String
        Private intID As Integer
        Private intLevel As Integer
        Private strName As String
        Private intQuality As Integer
        Private strRequiredSkill As String
        Private intRequiredSkillRank As Integer
        Private strType As String
        Private cCost As New List(Of cost)

        <XmlAttribute()> Public Property icon() As String
            Get
                Return strIcon
            End Get
            Set(ByVal value As String)
                strIcon = value
            End Set
        End Property

        <XmlAttribute()> Public Property id() As Integer
            Get
                Return intID
            End Get
            Set(ByVal value As Integer)
                intID = value
            End Set
        End Property

        <XmlAttribute()> Public Property level() As Integer
            Get
                Return intLevel
            End Get
            Set(ByVal value As Integer)
                intLevel = value
            End Set
        End Property

        <XmlAttribute()> Public Property name() As String
            Get
                Return strName
            End Get
            Set(ByVal value As String)
                strName = value
            End Set
        End Property

        <XmlAttribute()> Public Property quality() As Integer
            Get
                Return intQuality
            End Get
            Set(ByVal value As Integer)
                intQuality = value
            End Set
        End Property

        <XmlAttribute()> Public Property requiredSkill() As String
            Get
                Return strRequiredSkill
            End Get
            Set(ByVal value As String)
                strRequiredSkill = value
            End Set
        End Property

        <XmlAttribute()> Public Property requiredSkillRank() As Integer
            Get
                Return intRequiredSkillRank
            End Get
            Set(ByVal value As Integer)
                intRequiredSkillRank = value
            End Set
        End Property

        <XmlAttribute()> Public Property type() As String
            Get
                Return strType
            End Get
            Set(ByVal value As String)
                strType = value
            End Set
        End Property

        <XmlElement()> Public Property cost() As List(Of cost)
            Get
                Return cCost
            End Get
            Set(ByVal value As List(Of cost))
                cCost = value
            End Set
        End Property

    End Class

End Namespace